package com.mcgrobot.entity.flow.httplogin;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.validator.constraints.NotBlank;

@XmlAccessorType(XmlAccessType.NONE)
@XmlRootElement
public class HttpLoginProperty implements Serializable {

	private static final long serialVersionUID = 1L;
    @NotBlank(message = "{flowHttpLogin.httpLoginProperty.key.notBlank}")
    @XmlElement
    private String key;
    @NotBlank(message = "{flowHttpLogin.httpLoginProperty.name.notBlank}")
    @XmlElement
    private String name;
    @NotBlank(message = "{flowHttpLogin.httpLoginProperty.userName.notBlank}")
    @XmlElement
    private String userName;
    @NotBlank(message = "{flowHttpLogin.httpLoginProperty.userPwd.notBlank}")
    @XmlElement
    private String userPwd;
    @NotBlank(message = "{flowHttpLogin.httpLoginProperty.url.notBlank}")
    @XmlElement
    private String url;
    @XmlElement
    private String desc;
    
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
    
}
